package com.hoongs.v1.service;

import com.hoongs.v1.entity.Address;
import com.hoongs.v1.utils.Result;
import com.hoongs.v1.vo.AddressVo;


public interface AddressService {

    Result selectInfoByUser(String id, String token);

    Result selectDefaultByUser(String token);

    Result selectListByUser(String token);

    Result saveByUser(AddressVo addressVO, String token);

    Result removeByUser(String id, String token);

    Result add(Address address);

    Result remove(String id);

    Result update(Address address);

    Result selectPageList(Integer page, Integer size, String userId, String userName);
}
